Integrand size = 24, antiderivative size = 178 \[ \int \frac {\sqrt {2+3 x^2+x^4}}{7+5 x^2} \, dx=\frac {x \left (2+x^2\right )}{5 \sqrt {2+3 x^2+x^4}}-\frac {\sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} E\left (\arctan (x)\left |\frac {1}{2}\right .\right )}{5 \sqrt {2+3 x^2+x^4}}+\frac {\left (1+x^2\right ) \sqrt {\frac {2+x^2}{2+2 x^2}} \operatorname {EllipticF}\left (\arctan (x),\frac {1}{2}\right )}{5 \sqrt {2+3 x^2+x^4}}+\frac {3 \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} \operatorname {EllipticPi}\left (\frac {2}{7},\arctan (x),\frac {1}{2}\right )}{35 \sqrt {2} \sqrt {2+3 x^2+x^4}} \]
[Out]
Time = 0.08 (sec) , antiderivative size = 232, normalized size of antiderivative = 1.30, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.292, Rules used = {1222, 1203, 1113, 1149, 1228, 1470, 553} \[ \int \frac {\sqrt {2+3 x^2+x^4}}{7+5 x^2} \, dx=\frac {4 \sqrt {2} \left (x^2+1\right ) \sqrt {\frac {x^2+2}{x^2+1}} \operatorname {EllipticF}\left (\arctan (x),\frac {1}{2}\right )}{25 \sqrt {x^4+3 x^2+2}}-\frac {3 \left (x^2+1\right ) \sqrt {\frac {x^2+2}{x^2+1}} \operatorname {EllipticF}\left (\arctan (x),\frac {1}{2}\right )}{25 \sqrt {2} \sqrt {x^4+3 x^2+2}}-\frac {\sqrt {2} \left (x^2+1\right ) \sqrt {\frac {x^2+2}{x^2+1}} E\left (\arctan (x)\left |\frac {1}{2}\right .\right )}{5 \sqrt {x^4+3 x^2+2}}+\frac {3 \left (x^2+2\right ) \operatorname {EllipticPi}\left (\frac {2}{7},\arctan (x),\frac {1}{2}\right )}{35 \sqrt {2} \sqrt {\frac {x^2+2}{x^2+1}} \sqrt {x^4+3 x^2+2}}+\frac {x \left (x^2+2\right )}{5 \sqrt {x^4+3 x^2+2}} \]
[In]
[Out]
Rule 553
Rule 1113
Rule 1149
Rule 1203
Rule 1222
Rule 1228
Rule 1470
Rubi steps \begin{align*} \text {integral}& = -\left (\frac {1}{25} \int \frac {-8-5 x^2}{\sqrt {2+3 x^2+x^4}} \, dx\right )-\frac {6}{25} \int \frac {1}{\left (7+5 x^2\right ) \sqrt {2+3 x^2+x^4}} \, dx \\ & = -\left (\frac {3}{25} \int \frac {1}{\sqrt {2+3 x^2+x^4}} \, dx\right )+\frac {1}{5} \int \frac {x^2}{\sqrt {2+3 x^2+x^4}} \, dx+\frac {3}{10} \int \frac {2+2 x^2}{\left (7+5 x^2\right ) \sqrt {2+3 x^2+x^4}} \, dx+\frac {8}{25} \int \frac {1}{\sqrt {2+3 x^2+x^4}} \, dx \\ & = \frac {x \left (2+x^2\right )}{5 \sqrt {2+3 x^2+x^4}}-\frac {\sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} E\left (\tan ^{-1}(x)|\frac {1}{2}\right )}{5 \sqrt {2+3 x^2+x^4}}-\frac {3 \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} F\left (\tan ^{-1}(x)|\frac {1}{2}\right )}{25 \sqrt {2} \sqrt {2+3 x^2+x^4}}+\frac {4 \sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} F\left (\tan ^{-1}(x)|\frac {1}{2}\right )}{25 \sqrt {2+3 x^2+x^4}}+\frac {\left (3 \sqrt {1+\frac {x^2}{2}} \sqrt {2+2 x^2}\right ) \int \frac {\sqrt {2+2 x^2}}{\sqrt {1+\frac {x^2}{2}} \left (7+5 x^2\right )} \, dx}{10 \sqrt {2+3 x^2+x^4}} \\ & = \frac {x \left (2+x^2\right )}{5 \sqrt {2+3 x^2+x^4}}-\frac {\sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} E\left (\tan ^{-1}(x)|\frac {1}{2}\right )}{5 \sqrt {2+3 x^2+x^4}}-\frac {3 \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} F\left (\tan ^{-1}(x)|\frac {1}{2}\right )}{25 \sqrt {2} \sqrt {2+3 x^2+x^4}}+\frac {4 \sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} F\left (\tan ^{-1}(x)|\frac {1}{2}\right )}{25 \sqrt {2+3 x^2+x^4}}+\frac {3 \left (2+x^2\right ) \Pi \left (\frac {2}{7};\tan ^{-1}(x)|\frac {1}{2}\right )}{35 \sqrt {2} \sqrt {\frac {2+x^2}{1+x^2}} \sqrt {2+3 x^2+x^4}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 9.53 (sec) , antiderivative size = 90, normalized size of antiderivative = 0.51 \[ \int \frac {\sqrt {2+3 x^2+x^4}}{7+5 x^2} \, dx=-\frac {i \sqrt {1+x^2} \sqrt {2+x^2} \left (35 E\left (\left .i \text {arcsinh}\left (\frac {x}{\sqrt {2}}\right )\right |2\right )+21 \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {x}{\sqrt {2}}\right ),2\right )-6 \operatorname {EllipticPi}\left (\frac {10}{7},i \text {arcsinh}\left (\frac {x}{\sqrt {2}}\right ),2\right )\right )}{175 \sqrt {2+3 x^2+x^4}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.75 (sec) , antiderivative size = 138, normalized size of antiderivative = 0.78
method | result | size |
default | \(-\frac {3 i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, F\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )}{50 \sqrt {x^{4}+3 x^{2}+2}}-\frac {i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, E\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )}{10 \sqrt {x^{4}+3 x^{2}+2}}+\frac {6 i \sqrt {2}\, \sqrt {1+\frac {x^{2}}{2}}\, \sqrt {x^{2}+1}\, \Pi \left (\frac {i \sqrt {2}\, x}{2}, \frac {10}{7}, \sqrt {2}\right )}{175 \sqrt {x^{4}+3 x^{2}+2}}\) | \(138\) |
elliptic | \(-\frac {3 i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, F\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )}{50 \sqrt {x^{4}+3 x^{2}+2}}-\frac {i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, E\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )}{10 \sqrt {x^{4}+3 x^{2}+2}}+\frac {6 i \sqrt {2}\, \sqrt {1+\frac {x^{2}}{2}}\, \sqrt {x^{2}+1}\, \Pi \left (\frac {i \sqrt {2}\, x}{2}, \frac {10}{7}, \sqrt {2}\right )}{175 \sqrt {x^{4}+3 x^{2}+2}}\) | \(138\) |
[In]
[Out]
\[ \int \frac {\sqrt {2+3 x^2+x^4}}{7+5 x^2} \, dx=\int { \frac {\sqrt {x^{4} + 3 \, x^{2} + 2}}{5 \, x^{2} + 7} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {2+3 x^2+x^4}}{7+5 x^2} \, dx=\int \frac {\sqrt {\left (x^{2} + 1\right ) \left (x^{2} + 2\right )}}{5 x^{2} + 7}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {2+3 x^2+x^4}}{7+5 x^2} \, dx=\int { \frac {\sqrt {x^{4} + 3 \, x^{2} + 2}}{5 \, x^{2} + 7} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {2+3 x^2+x^4}}{7+5 x^2} \, dx=\int { \frac {\sqrt {x^{4} + 3 \, x^{2} + 2}}{5 \, x^{2} + 7} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {2+3 x^2+x^4}}{7+5 x^2} \, dx=\int \frac {\sqrt {x^4+3\,x^2+2}}{5\,x^2+7} \,d x \]
[In]
[Out]